package thread;

/**
 * Created with IntelliJ IDEA.
 * Description: 线程状体 TIMED-WAITING，WAITING
 * User: 王圆豪
 * Date: 2025-04-24
 * Time: 12:58
 */
public class Demo14 {
    public static void main(String[] args) throws InterruptedException {
        Thread thread = new Thread(()->{
            while (true) {

            }
        });

        thread.start();
        thread.join(6000000);

    }
}
